/*
 * Copyright (C) 2008 nextcode:ch
 * 
 * Author: Michele Dell'Ambrogio, m@nextcode.ch
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License as 
 * published by the Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

package sfplayer.init;

/**
 *
 * @author micc
 */
public class Preferences {
    
    private static String path2Preferences = ""; 
    private static String videoEngine = "Quicktime";
    private static String urlGrabber = "http://sfgrabber.appspot.com/";
    private static String urlSoftwareUpdate = "";        
    private static Double versionNumber = 0.1;
    private static Boolean saveLastOpenVideo = false;

    public static String getPath2Preferences() {
        return path2Preferences;
    }

    public static void setPath2Preferences(String path2Preferences) {
        Preferences.path2Preferences = path2Preferences;
    }

    public static Boolean getSaveLastOpenVideo() {
        return saveLastOpenVideo;
    }

    public static void setSaveLastOpenVideo(Boolean saveLastOpenVideo) {
        Preferences.saveLastOpenVideo = saveLastOpenVideo;
    }

    public static String getUrlGrabber() {
        return urlGrabber;
    }

    public static void setUrlGrabber(String urlGrabber) {
        Preferences.urlGrabber = urlGrabber;
    }

    public static String getUrlSoftwareUpdate() {
        return urlSoftwareUpdate;
    }

    public static void setUrlSoftwareUpdate(String urlSoftwareUpdate) {
        Preferences.urlSoftwareUpdate = urlSoftwareUpdate;
    }

    public static Double getVersionNumber() {
        return versionNumber;
    }

    public static void setVersionNumber(Double versionNumber) {
        Preferences.versionNumber = versionNumber;
    }

    public static String getVideoEngine() {
        return videoEngine;
    }

    public static void setVideoEngine(String videoEngine) {
        Preferences.videoEngine = videoEngine;
    }

}
